﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using iBing.Common.DbHelper.CoreObj;
using CodeCreator.Template;

namespace iBing.Common.DbHelper
{
    public interface IDbHelper
    {
        int ExecuteSql(string SQLString);
        object GetSingle(string SQLString);
        IDataReader ExecuteReader(string strSQL);
        DataSet Query(string SQLString);
        void CloseConnection();
        List<string> GetAllSchema();
        List<string> GetTablesBySchema(string schemaName);
        List<DbField> GetColumnsByTable(string schemaName, string tableName);
    }
}
